hypsometric curve from DEM